package base;

import java.util.ArrayList;
import java.util.List;

import base.conn.TelnetConn;

public class TestMain {
	
	public static void main(String[] args) {
		
		List<String> list=new ArrayList<String>();
		
		list.add("root");
		list.add("hcycom!@#");
		
		TelnetConn tc=new TelnetConn();
		//tc.setLoginStr(list);
		tc.getConn("192.168.1.201", 0);
		System.out.println(tc.sendCommand("date"));
	}

}
